//
//  GMHomeImgCell.m
//  Teecloud
//
//  Created by 小熊 on 2018/10/16.
//  Copyright © 2018年 小志. All rights reserved.
//

#import "GMHomeImgCell.h"
@interface GMHomeImgCell()
@property (weak, nonatomic) IBOutlet UIImageView *img;

@end
@implementation GMHomeImgCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setStuModel:(GMStudyResModel *)stuModel{
    _stuModel = stuModel;
    [self.img yy_setImageWithURL:[NSURL URLWithString:stuModel.HeadUrl] placeholder:DefealtImg];
}
//资讯的模型
- (void)setNewsModel:(XZNewsList *)newsModel{
    _newsModel = newsModel;
    [self.img yy_setImageWithURL:[NSURL URLWithString:newsModel.HeadUrl] placeholder:DefealtImg];
}
@end
